#ifndef PLAYER_H
#define PLAYER_H
#include <allegro.h>
#include "object.h"

class player {
	public:
		int x;
		int y;

		int w;
		int h;

		int speed_x;

		BITMAP* img;

		player(int screen_w, int screen_h, int speed_x, char* nome);

		void move(int scr_w);
	
		void draw(BITMAP* buffer);
	
		bool can_catch(object o);
};

#endif

